package com.example.testdemo.home;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.example.testdemo.R;
import com.example.testdemo.coordinator.ConstraintLayoutActivity;
import com.example.testdemo.coordinator.CoordinatorActivity;
import com.example.testdemo.coordinator.CoordinatorActivity2;
import com.example.testdemo.coordinator.CoordinatorActivity3;
import com.example.testdemo.default_recycler_view_adapter.DefaultRecyclerViewAdapterActivity;
import com.example.testdemo.douyin.DouyinReordBtnActivity;
import com.example.testdemo.emptyLayout.EmptyLayoutActivity;
import com.example.testdemo.gradient_progress.GradientProgressActivity;
import com.example.testdemo.horizontal_image_list.HorizontalActivity;
import com.example.testdemo.image_progress_bar.ImageProgressBarActivity;
import com.example.testdemo.imaginary.ImaginaryLineActivity;
import com.example.testdemo.level3.LevelThreeListActivity;
import com.example.testdemo.list_single_select.ListViewSingleSelect;
import com.example.testdemo.liveing.LiveIngActivity;
import com.example.testdemo.noticeBar.NoticeWindowActivity;
import com.example.testdemo.prize_recycler_view.PrizeActivity;
import com.example.testdemo.progess_image.ProgressImgActivity;
import com.example.testdemo.random.RandomActivity;
import com.example.testdemo.recyclerview.VideoListActivity;
import com.example.testdemo.recyclerview_gallery_load.RecyclerViewGalleryActivity;
import com.example.testdemo.ripple.RippleActivity;
import com.example.testdemo.rxjava_test.EventBusA_Activity;
import com.example.testdemo.rxjava_test.RxJavaBtestActivity;
import com.example.testdemo.scrollDelete.ScrollDeleteActivity;
import com.example.testdemo.service.MyServiceActivity;
import com.example.testdemo.sqlite.SQLiteCacheActivity;
import com.example.testdemo.teamView.GroupAvatarActivity;
import com.example.testdemo.trigonView.TriangleViewActivity;
import com.example.testdemo.video_progress.VideoProgressActivity;
import com.example.testdemo.view_state.ViewStateActivity;
import com.example.testdemo.zhihu_adv.ZhiHuAdvActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void defaultRecyclerViewAdapter(View view){
        startActivity(new Intent(this,DefaultRecyclerViewAdapterActivity.class));
    }
    public void listViewSingleSelect(View view){
        startActivity(new Intent(this,ListViewSingleSelect.class));
    }
    public void imageProgressBar(View view){
        startActivity(new Intent(this,ImageProgressBarActivity.class));
    }
    public void gradientProgress(View view){
        startActivity(new Intent(this,GradientProgressActivity.class));
    }

    public void liveIng(View view) {
        startActivity(new Intent(this,LiveIngActivity.class));
    }

    public void videoProgressBar(View view) {
        startActivity(new Intent(this,VideoProgressActivity.class));
    }

    public void rippleTextView(View view) {
        startActivity(new Intent(this, RippleActivity.class));
    }

    public void prizeRecyclerView(View view) {
        startActivity(new Intent(this,PrizeActivity.class));
    }

    public void coordinator(View view) {
        startActivity(new Intent(this, CoordinatorActivity.class));
    }

    public void viewState(View view) {
        startActivity(new Intent(this, ViewStateActivity.class));
    }

    public void horizontalActivity(View view) {
        startActivity(new Intent(this,HorizontalActivity.class));
    }

    public void douyinRecordBtnActivity(View view) {
        startActivity(new Intent(this,DouyinReordBtnActivity.class));
    }

    public void androidSQLiteDatabase(View view) {
        startActivity(new Intent(this,SQLiteCacheActivity.class));
    }

    public void withLoadingProgressImageView(View view) {
        startActivity(new Intent(this,ProgressImgActivity.class));
    }

    public void toCoordina2Activity(View view){
        startActivity(new Intent(this, CoordinatorActivity2.class));
    }

    public void level3List(View view) {
        startActivity(new Intent(this,LevelThreeListActivity.class));
    }


    public void emptyLayout(View view) {
        startActivity(new Intent(this, EmptyLayoutActivity.class));
    }

    public void toRecyGralleryActivity(View view){
        startActivity(new Intent(this, RecyclerViewGalleryActivity.class));
    }

    public void imaginaryLine(View view) {
        startActivity(new Intent(this,ImaginaryLineActivity.class));
    }

    public void groupAvatar(View view) {
        startActivity(new Intent(this, GroupAvatarActivity.class));
    }

    public void toMOMOHomeActivity(View view) {
        startActivity(new Intent(this, CoordinatorActivity3.class));
    }

    public void scrollDelete(View view) {
        startActivity(new Intent(this, ScrollDeleteActivity.class));
    }

    public void triangle(View view) {
        startActivity(new Intent(this,TriangleViewActivity.class));
    }

    public void requestRandom(View view) {
        startActivity(new Intent(this,RandomActivity.class));
    }

    public void service(View view) {
        startActivity(new Intent(this, MyServiceActivity.class));
    }
    public void toConstraintLayout(View view) {
        startActivity(new Intent(this, ConstraintLayoutActivity.class));
    }

    @Override
    public void finish() {
        super.finish();
        System.exit(0);
    }

    public void noticeWindow(View view) {
        startActivity(new Intent(this, NoticeWindowActivity.class));
    }

    public void toZhiHU(View view) {
        startActivity(new Intent(this, ZhiHuAdvActivity.class));
    }

    public void toRxJavaTestActivity(View view) {
        startActivity(new Intent(this, RxJavaBtestActivity.class));
    }

    public void toEventbusActivity(View view) {
        startActivity(new Intent(this, EventBusA_Activity.class));
    }

    public void toVideoListActivity(View view){
        startActivity(new Intent(this, VideoListActivity.class));
    }
}
